export class GoodsBaseInfo {
  constructor(baseInfo) {
    this.title = baseInfo.title;
    this.newPrice = baseInfo.newPrice;
    this.oldPrice = baseInfo.oldPrice;
    this.discount = baseInfo.discount;
    this.columns = baseInfo.columns;
    this.services = baseInfo.services;
  }
}

// 店铺数据
export class Shop {
  constructor(shopInfo) {
    this.logo = shopInfo.logo;
    this.name = shopInfo.name;
    this.sells = shopInfo.sells;
    this.score = shopInfo.score;
    this.goodsCount = shopInfo.goodsCount;
  }
}
